import request from '@/router/axios'

export function get_xw_ReportErrorList(query) {
  return request({
    url: '/check/xw/get_xw_ReportErrorList',
    method: 'post',
    params: query
  })
}

/**
 * 获取涉及人员
 * @param query
 */
export function get_xw_SwStReportErrorAlterAppayDetail(query) {
  return request({
    url: '/check/xw/get_xw_SwStReportErrorAlterAppayDetail',
    method: 'post',
    params: query,
    data: query
  })
}


export function update_xw_ReportError(query) {
  return request({
    url: '/check/xw/update_xw_ReportError',
    method: 'post',
    params: query
  })
}

export function update_xw_ReportPromise(query) {
  return request({
    url: '/check/xw/update_xw_ReportPromise',
    method: 'post',
    params: query
  })
}


export function get_xw_ReportInfos(query) {
  return request({
    url: '/check/xw/get_xw_ReportInfos',
    method: 'post',
    params: query
  })
}


export function update_xw_ReportInfos(query) {
  return request({
    url: '/check/xw/update_xw_ReportInfos',
    method: 'post',
    params: query
  })
}



export function optionList(){
  return {
    emptyBtn:false,
    editBtn:false,
    delBtn:false,
    addBtn:false,
    refreshBtn:false,
    columnBtn:false,
    menu:false,
    border: true,
    index:true,
    indexLabel:'序号',
    page:false,
    align:'center',
    menuWidth:150,
    menuAlign:'center',
    selection: true,
    reserveSelection:false,
    column:[
      {prop:"stationPersonrId", label:"涉及人员",slot:true},
      {prop:"stationPersonrCode", label:"员工号",slot:true},
      {prop:"stationPersonrName", label:"员工",hide:true},
      ]
  }
}
